<template>
    <div class="box">
        <h4>孙组件标题</h4>
        <div>content1: {{ content1 }}</div>
        <div>content2: {{ content2.name }}</div>
    </div>
</template>

<script>
export default {
    name: "GrandChild",
    inject: ['content1', 'content2']
};
</script>
